﻿Chenxin.UI.UserLoginLogsMgr=Chenxin.extend(Chenxin.UI.PageCommon,{
	actionUrl:'service/UserLoginLogsMgr.ashx',
	createGrid:function(){		
		return new Chenxin.UI.Pagination({
			actionUrl:this.actionUrl+'?op=getlist',
			id:'userloginlogs',
			renderTo:'userloginlogs_table',
			pageSize:10,
			data:{}
		});
	},
	createSearch:function(){
		return new Chenxin.UI.UserLoginLogsSearch({
			scope:this
		});
	},
	initComponent:function(){
		Chenxin.UI.UserLoginLogsMgr.superclass.initComponent.call(this);
	}
});



/**
*查询面板
*/
Chenxin.UI.UserLoginLogsSearch=Chenxin.extend(Chenxin.UI.SearchCommon,{
	id:'community_search',
	initEvent:function(){
		var _this=this;
		$('#btn_search').live('click',function(){
			_this.scope.reloadGrid();
		});
		
	},
	createComboList:function(){
		var status=new Chenxin.UI.Combo({
			containerId: '#Login_Status',
			name: 'Status',
			tbxWidth:50,
			items:comboCommon.loginStatus
		});
		return [status];
	},
	initComponent:function(){
		Chenxin.UI.UserLoginLogsSearch.superclass.initComponent.call(this);
	}
});

$(document).ready(function(){
	var userLogin=new Chenxin.UI.UserLoginLogsMgr();
})





















